home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _79E8F2F132944052AB7171D58B1F2239 < prev    next >
Encoding:
Text File  |  2002-03-22  |  2.7 KB  |  134 lines

  1. {
  2.     \\ SOUNDS MENU
  3.  
  4.     menuDef 
  5.     {
  6.         name        "sounds_menu"
  7.         visible        0
  8.         fullscreen    0
  9.         rect        50 110 432 254
  10.         focusColor    .49 .56 .27 1
  11.  
  12.         itemDef
  13.         {
  14.             name        effectsvolume_slider
  15.             style        WINDOW_STYLE_FILLED
  16.             text        "Effects Volume"
  17.             rect        152 29 125 20
  18.             forecolor    .12 .14 .08 1
  19.             backcolor    0 0 0 0
  20.             textaligny    2
  21.             textalignx    5
  22.             textfont    "hud"
  23.             textscale    .53
  24.             visible        1
  25.             decoration
  26.         }
  27.  
  28.         itemDef 
  29.         {
  30.               name        other
  31.               type        ITEM_TYPE_SLIDER
  32.             text        ""
  33.             cvarfloat    "s_volume" 0.7 0 1
  34.             rect        150 49 128 40
  35.               visible        1
  36.  
  37.             action 
  38.             { 
  39.                 play "sound/misc/menus/select.wav" ; 
  40.             }
  41.             mouseEnter 
  42.             { 
  43.                 play "sound/misc/menus/hilite1.wav" ; 
  44.                 setitemcolor effectsvolume_slider backcolor .12 .14 .08 1
  45.                 setitemcolor effectsvolume_slider forecolor .49 .56 .27 1
  46.             }
  47.               mouseExit 
  48.             { 
  49.                 setitemcolor effectsvolume_slider forecolor .12 .14 .08 1
  50.                 setitemcolor effectsvolume_slider backcolor 0 0 0 0
  51.             }
  52.         }
  53.     
  54.         itemDef
  55.         {
  56.             name        musicvolume_slider
  57.             style        WINDOW_STYLE_FILLED
  58.             text        "Music Volume"
  59.             rect        155 109 125 20
  60.             forecolor    .12 .14 .08 1
  61.             backcolor    0 0 0 0
  62.             textaligny    2
  63.             textalignx  5
  64.             textfont    "hud"
  65.             textscale    .53
  66.             visible        1
  67.             decoration
  68.         }
  69.  
  70.         itemDef 
  71.         {
  72.               name        other
  73.              type        ITEM_TYPE_SLIDER
  74.             text        ""
  75.             rect        150 129 128 40
  76.             cvarfloat    "s_musicvolume" 0.25 0 1
  77.               visible        1
  78.  
  79.             action 
  80.             { 
  81.                 play "sound/misc/menus/select.wav" ; 
  82.             }
  83.             mouseEnter 
  84.             { 
  85.                 play "sound/misc/menus/hilite1.wav" ; 
  86.                 setitemcolor musicvolume_slider backcolor .12 .14 .08 1
  87.                 setitemcolor musicvolume_slider forecolor .49 .56 .27 1
  88.             }
  89.               mouseExit 
  90.             { 
  91.                 setitemcolor musicvolume_slider forecolor .12 .14 .08 1
  92.                 setitemcolor musicvolume_slider backcolor 0 0 0 0
  93.             }
  94.         }
  95.  
  96.         itemDef 
  97.         {
  98.               name        samplerate_multi
  99.             style        WINDOW_STYLE_FILLED
  100.               type        ITEM_TYPE_MULTI
  101.             text        "Sound Frequency:"
  102.             cvar        "s_khz"
  103.             rect        100 179 243 20
  104.               textalign    ITEM_ALIGN_RIGHT
  105.               textalignx    130
  106.               textaligny    2
  107.             textfont    "hud"
  108.             textscale    .43
  109.             forecolor    .12 .14 .08 1
  110.               visible        1 
  111.  
  112.             cvarFloatList
  113.             { 
  114.                 "22 khz (high)" 22 
  115.                 "11 khz (low)" 11 
  116.             }
  117.             action 
  118.             { 
  119.                 play "sound/misc/menus/select.wav" ; 
  120.             }
  121.             mouseEnter 
  122.             { 
  123.                 play "sound/misc/menus/hilite1.wav" ; 
  124.                 setitemcolor samplerate_multi backcolor .12 .14 .08 1
  125.                 setitemcolor samplerate_multi forecolor .49 .56 .27 1
  126.             }
  127.               mouseExit 
  128.             { 
  129.                 setitemcolor samplerate_multi forecolor .12 .14 .08 1
  130.                 setitemcolor samplerate_multi backcolor 0 0 0 0
  131.             }
  132.           }
  133.     }
  134. }